<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" href="./css/basic.css">
    <style>
        .rou {
            width: 300px;
            height: 300px;
            background-color: #000;
            margin: 0 auto;
            position: relative;
        }
        
        .item,
        .item2,
        .item3,
        .item4,
        .item5,
        .item6,
        .item7,
        .item8,
        .item9 {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background-color: orange;
            position: absolute;
        }
        
        .item2 {
            background-color: pink;
            left: 50%;
            transform: translateX(-50%);
        }
        
        .item3 {
            background-color: red;
            right: 0;
        }
        
        .item4 {
            background-color: yellow;
            top: 50%;
            transform: translateY(-50%);
        }
        
        .item5 {
            background-color: #fff;
            left: 50%;
            top: 50%;
            transform: translate(-50%, -50%);
        }
        
        .item6 {
            background-color: palegoldenrod;
            right: 0;
            top: 50%;
            transform: translateY(-50%);
        }
        
        .item7 {
            background-color: blue;
            bottom: 0;
        }
        
        .item8 {
            background-color: skyblue;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
        }
        
        .item9 {
            background-color: violet;
            right: 0;
            bottom: 0;
        }
    </style>
</head>

<body>
    <div class="rou">
        <div class="item"></div>
        <div class="item2"></div>
        <div class="item3"></div>
        <div class="item4"></div>
        <div class="item5"></div>
        <div class="item6"></div>
        <div class="item7"></div>
        <div class="item8"></div>
        <div class="item9"></div>
    </div>
</body>

</html>